﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020000E5 RID: 229
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BatchGetQuestDataCsReq : IMessage<BatchGetQuestDataCsReq>, IMessage, IEquatable<BatchGetQuestDataCsReq>, IDeepCloneable<BatchGetQuestDataCsReq>, IBufferMessage
	{
		// Token: 0x1700030D RID: 781
		// (get) Token: 0x06000A7A RID: 2682 RVA: 0x0001F03C File Offset: 0x0001D23C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BatchGetQuestDataCsReq> Parser
		{
			get
			{
				return BatchGetQuestDataCsReq._parser;
			}
		}

		// Token: 0x1700030E RID: 782
		// (get) Token: 0x06000A7B RID: 2683 RVA: 0x0001F043 File Offset: 0x0001D243
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BatchGetQuestDataCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700030F RID: 783
		// (get) Token: 0x06000A7C RID: 2684 RVA: 0x0001F055 File Offset: 0x0001D255
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BatchGetQuestDataCsReq.Descriptor;
			}
		}

		// Token: 0x06000A7D RID: 2685 RVA: 0x0001F05C File Offset: 0x0001D25C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BatchGetQuestDataCsReq()
		{
		}

		// Token: 0x06000A7E RID: 2686 RVA: 0x0001F06F File Offset: 0x0001D26F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BatchGetQuestDataCsReq(BatchGetQuestDataCsReq other) : this()
		{
			this.questList_ = other.questList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000A7F RID: 2687 RVA: 0x0001F099 File Offset: 0x0001D299
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BatchGetQuestDataCsReq Clone()
		{
			return new BatchGetQuestDataCsReq(this);
		}

		// Token: 0x17000310 RID: 784
		// (get) Token: 0x06000A80 RID: 2688 RVA: 0x0001F0A1 File Offset: 0x0001D2A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> QuestList
		{
			get
			{
				return this.questList_;
			}
		}

		// Token: 0x06000A81 RID: 2689 RVA: 0x0001F0A9 File Offset: 0x0001D2A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BatchGetQuestDataCsReq);
		}

		// Token: 0x06000A82 RID: 2690 RVA: 0x0001F0B7 File Offset: 0x0001D2B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BatchGetQuestDataCsReq other)
		{
			return other != null && (other == this || (this.questList_.Equals(other.questList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000A83 RID: 2691 RVA: 0x0001F0EC File Offset: 0x0001D2EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.questList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000A84 RID: 2692 RVA: 0x0001F120 File Offset: 0x0001D320
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000A85 RID: 2693 RVA: 0x0001F128 File Offset: 0x0001D328
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000A86 RID: 2694 RVA: 0x0001F131 File Offset: 0x0001D331
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.questList_.WriteTo(ref output, BatchGetQuestDataCsReq._repeated_questList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000A87 RID: 2695 RVA: 0x0001F158 File Offset: 0x0001D358
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.questList_.CalculateSize(BatchGetQuestDataCsReq._repeated_questList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000A88 RID: 2696 RVA: 0x0001F191 File Offset: 0x0001D391
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BatchGetQuestDataCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.questList_.Add(other.questList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000A89 RID: 2697 RVA: 0x0001F1BF File Offset: 0x0001D3BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000A8A RID: 2698 RVA: 0x0001F1C8 File Offset: 0x0001D3C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U && num != 18U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.questList_.AddEntriesFrom(ref input, BatchGetQuestDataCsReq._repeated_questList_codec);
				}
			}
		}

		// Token: 0x04000436 RID: 1078
		private static readonly MessageParser<BatchGetQuestDataCsReq> _parser = new MessageParser<BatchGetQuestDataCsReq>(() => new BatchGetQuestDataCsReq());

		// Token: 0x04000437 RID: 1079
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000438 RID: 1080
		public const int QuestListFieldNumber = 2;

		// Token: 0x04000439 RID: 1081
		private static readonly FieldCodec<uint> _repeated_questList_codec = FieldCodec.ForUInt32(18U);

		// Token: 0x0400043A RID: 1082
		private readonly RepeatedField<uint> questList_ = new RepeatedField<uint>();
	}
}
